package com.yuyang.springcloud.mapper;

import com.yuyang.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author yu yang
 * @date 2022/10/25 -15:27
 */
@Mapper
public interface PaymentMapper {
    int create(Payment payment);
    Payment getPaymentById(@Param("id") Long id);
}
